package com.kaifamiao.www.demo.do0802;

public class Test {
    public static void main(String[] args) {
        Stack s = new MyStack();
        s.push('a');
        s.push('b');
        s.push('d');
        s.push('q');
        s.push('k');
        System.out.println(s.size());
        System.out.println(s.pop());
        System.out.println(s.top());
        System.out.println(s.empty());
    }
}
